@echo off
chcp 65001 >nul
echo ========================================
echo    ITS System Status Check Script
echo ========================================
echo.
cd /d "%~dp0"

echo Checking all service status...
echo.
docker-compose ps

echo.
echo ========================================
echo    Service Description:
echo ========================================
echo Container Name    | Status     | Port Mapping
echo -----------------|------------|--------------
echo its_database      | Should be Up | 5434:5432
echo its_backend       | Should be Up | 8001:8000
echo its_frontend      | Should be Up | 3001:3000
echo its_nginx         | Should be Up | 8080:80
echo.
echo Access URLs:
echo - System Homepage: http://localhost:8080
echo - API Documentation: http://localhost:8001/docs
echo.
pause